<?php
/**===========================================================================================
# mod_otminislideshow   OT Mini Slideshow Module For Joomla 1.7.0
#=============================================================================================
# author                OmegaTheme.com
# copyright             Copyright (C) 2011 OmegaTheme.com. All rights reserved.
# @license              http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website               http://omegatheme.com
# Technical support     Forum - http://omegatheme.com/forum/
#=============================================================================================*/

/**--------------------------------------------------------------------------------------------
* file:           mod_otminislideshow.php 1.7.0 00001, Mar 2011 12:00:00Z OmegaTheme:Linh $
* package:        OT Mini Slideshow module
* description:    main module file
*---------------------------------------------------------------------------------------------*/

defined('_JEXEC') or die ('Restricteted access');

JHTML::_('behavior.framework', true);
$doc = &Jfactory::getDocument();
$doc->addStyleSheet(JURI::root().'modules/mod_otminislideshow/css/mod_otminislideshow.css');
//$doc->addScript(JURI::root().'modules/mod_otminislideshow/js/otmss_moo13.js');
require_once (dirname(__FILE__).DS.'helper.php');
$list = modOtMiniSlideShow::getArticles($params);

require JModuleHelper::getLayoutPath('mod_otminislideshow', $params->get('layout', 'default'));
?>
